package thread;

public class YieldDmeo {
    public static void main(String[] args) {
        Thread thread = new Thread(() -> System.out.println("xx"));

        thread.start();
        Thread.yield();

        Thread thread1 = new Thread(() -> System.out.println("222"));

        thread1.start();


    }
}
